package gr.unipi.mscd1;

import java.util.ArrayList;
import java.util.List;

import org.snmp4j.PDU;

public class ProcessInfo extends SnmpInfo {
	
	public ProcessInfo(SimpleSnmpClient client) {
		super(client);
		initialize();
	}

	private final ArrayList<OidInfo> OIDs = new ArrayList<OidInfo>() {

		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;

		{
			add(new OidInfo(OidConsts.hrSWRunIndex, false, PDU.GETNEXT, ParamType.INT, null));
			add(new OidInfo(OidConsts.hrSWRunName, ParamType.STRING));
			add(new OidInfo(OidConsts.hrSWRunPerfCPU, ParamType.INT));
			add(new OidInfo(OidConsts.hrSWRunPerfMem, ParamType.INT));
		}
	};

	@Override
	protected List<OidInfo> getOids() {
		return OIDs;
	}

}
